<?php  
use \app\common\services\UrlService;
use \app\common\services\StaticService;
StaticService::includeAppJsStatic( "/js/m/user/fav.js",\app\assets\MAsset::className() );
?>
<div style="min-height: 500px;">
	<ul class="fav_list">
	<?php foreach($list as $v):?>
		<li>
		<a href="<?=UrlService::buildMUrl('/product/info',['id'=>$v['book_id']])?>">
			<i class="pic"><img src="<?=UrlService::buildPicUrl('book',$v['main_image'])?>" style="height: 100px;width: 100px;" /></i>
			<h2><?=$v['name']?></h2>
			<b>¥ <?=$v['price']?></b>
		</a>
		<span class="del_fav" data="<?=$v['id']?>"><i class="del_fav_icon"></i></span>
	</li>
	<?php endforeach;?>
	</ul>
</div>